@ibiz-template-plugin/ai-chat 0.0.107 → 0.0.108
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js
CHANGED
|
@@ -21716,7 +21716,7 @@ class $c {
|
|
|
21716
21716
|
const t = await this.resourceOptions.getMessages({
|
|
21717
21717
|
n_session_id_eq: this.chatSessionid,
|
|
21718
21718
|
page: this.nextHistoryPage,
|
|
21719
|
-
size: 100
|
|
21719
|
+
size: this.opts.chatMessagePageSize || 100
|
|
21720
21720
|
}), i = t.data || [], s = (o = t.total) != null ? o : 0, r = i.map((a) => L7(a));
|
|
21721
21721
|
return r.length === 0 ? (this.hasMoreHistory.value = !1, r) : (this.loadedHistoryCount += r.length, this.hasMoreHistory.value = this.loadedHistoryCount < s, this.hasMoreHistory.value && (this.nextHistoryPage += 1), r);
|
|
21722
21722
|
}
|